import request from "./request";

const getChatResponse = (prompt: string): Promise<any> => {
  return request.post("/chat_gpt_v1/", { prompt });
};

export { getChatResponse };
